package com.mycompany.lctwitter.biz.model;

import com.mycompany.lctwitter.persist.model.Location;
import com.mycompany.lctwitter.persist.model.User;

public class UserModel {

    private long userId;

    private String userName;

    private String password;

    private String fullName;

    private Location location;

    public UserModel(User user, Location location) {
        this.userId = user.getId();
        this.userName = user.getUserName();
        this.password = user.getPwd();
        this.fullName = user.getFullName();
        this.location = location;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public String getPassword() {
        return password;
    }

    public String getFullName() {
        return fullName;
    }

    public Location getLocation() {
        return location;
    }

}
